package eoeProject.edenOfEast.bean;

import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

import eoeProject.edenOfEast.dataBase.DB_EOE_ANALYSES_RES;

public class EOEAnalysesResBean implements DBBean {
	private Integer res_id;
	private Integer analyses_id;
	private Integer res_num;
	private String res;
	private Integer gj;
	private Integer create_user_id;
	private Date create_date;
	private Date update_date;

	private List<String> columnList = new ArrayList<String>();
	private List<String> valueList = new ArrayList<String>();

	public EOEAnalysesResBean() {
		columnList.add(DB_EOE_ANALYSES_RES.RES_ID);
		columnList.add(DB_EOE_ANALYSES_RES.ANALYSES_ID);
		columnList.add(DB_EOE_ANALYSES_RES.RES_NUM);
		columnList.add(DB_EOE_ANALYSES_RES.RES);
		columnList.add(DB_EOE_ANALYSES_RES.GJ);
		columnList.add(DB_EOE_ANALYSES_RES.CREATE_USER_ID);
		columnList.add(DB_EOE_ANALYSES_RES.CREATE_DATE);
		columnList.add(DB_EOE_ANALYSES_RES.UPDATE_DATE);
	}

	public List<String> getColumnList() {
		return columnList;
	}

	public void setValueList() {
		SimpleDateFormat sdf = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		valueList.add(res_id.toString());
		valueList.add(analyses_id.toString());
		valueList.add(res_num.toString());
		valueList.add(res);
		valueList.add(gj.toString());
		valueList.add(create_user_id.toString());
		valueList.add(sdf.format(create_date));
		valueList.add(sdf.format(update_date));
	}

	public List<String> getValueList() {
		return valueList;
	}

	public Date getCreateDate() {
		return create_date;
	}

	public void setCreateDate(Date create_date) {
		this.create_date = create_date;
	}

	public Date getUpdateDate() {
		return update_date;
	}

	public void setUpdateDate(Date update_date) {
		this.update_date = update_date;
	}

	public Integer getResId() {
		return res_id;
	}

	public void setResId(Integer res_id) {
		this.res_id = res_id;
	}

	public Integer getCreateUserId() {
		return create_user_id;
	}

	public void setCreateUserId(Integer create_user_id) {
		this.create_user_id = create_user_id;
	}

	public String getRes() {
		return res;
	}

	public void setRes(String res) {
		this.res = res;
	}

	public Integer getAnalysesId() {
		return analyses_id;
	}

	public void setAnalysesId(Integer analyses_id) {
		this.analyses_id = analyses_id;
	}

	public Integer getResNum() {
		return res_num;
	}

	public void setResNum(Integer res_num) {
		this.res_num = res_num;
	}

	public Integer getGJ() {
		return gj;
	}

	public void setGJ(Integer gj) {
		this.gj = gj;
	}

}
